package io.renren.service;

import io.renren.entity.FileDestructionEntity;

import java.util.List;
import java.util.Map;

/**
 * 档案销毁
 * 
 * @author zhangheng
 * @email zh_123shmily@163.com
 * @date 2017-07-29 15:58:30
 */
public interface FileDestructionService {
	
	FileDestructionEntity queryObject(Integer id);
	
	List<FileDestructionEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(FileDestructionEntity fileDestruction);
	
	void update(FileDestructionEntity fileDestruction);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	String submit(FileDestructionEntity leave);

	void process(FileDestructionEntity leave);

	void reject(FileDestructionEntity leave);
}
